home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Games #12
/
GEGA012.iso
/
Jogos de Azar
/
bjack.swf
/
scripts
/
frame_400
/
DoAction.as
Wrap
Text File
|
2006-01-17
|
879b
|
28 lines
if("21" < eval("_level0/KDealer:TS1") or "21" < eval("_level0/KDealer:TS2"))
{
Credit += Bet;
set("_level0:StLosses",eval("_level0:StLosses") + "1");
set("_level0:StWins",eval("_level0:StWins") + "1");
}
else if(eval("_level0/KDealer:TS1") == eval("_level0/KDealer:d") or eval("_level0/KDealer:TS2") == eval("_level0/KDealer:d"))
{
Credit += Bet + Bet / "2";
set("_level0:StPushes",eval("_level0:StPushes") + "1");
set("_level0:StWins",eval("_level0:StWins") + "1");
}
else if(eval("_level0/KDealer:TS1") < eval("_level0/KDealer:d") or eval("_level0/KDealer:TS2") < eval("_level0/KDealer:d"))
{
Credit += Bet;
set("_level0:StWins",eval("_level0:StWins") + "1");
set("_level0:StLosses",eval("_level0:StLosses") + "1");
}
Bet = "";
Insure = "";
if("0" >= Credit)
{
tellTarget("/GOControl")
{
gotoAndPlay(2);
}
}